package com.supostacks.rpc.server.res;

import lombok.*;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class XResult implements Serializable {
    private static final long serialVersionUID = -1490913910949143122L;
    private Object result;
    private Integer code;
    private String msg;

    public XResult(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
